//
//  ATVNumericPropertyViewController.h
//  FlashController
//
//  Created by Martin Schiøth Dyrby on 12/1/11.
//  Copyright 2011 Molamil. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "ATVPropertyViewController.h"

@interface ATVNumericPropertyViewController : ATVPropertyViewController {
    NSTextField *titleLabel;
    NSTextField *currentValueLabel;
    NSTextField *minimumValueLabel;
    NSTextField *maximumValueLabel;
    NSSlider    *valueSlider;
    BOOL        ismethod;
}


@property (retain) IBOutlet NSTextField *titleLabel;
@property (retain) IBOutlet NSTextField *currentValueLabel;
@property (retain) IBOutlet NSTextField *minimumValueLabel;
@property (retain) IBOutlet NSTextField *maximumValueLabel;
@property (retain) IBOutlet NSSlider *valueSlider;

@property BOOL isMethod;
@property double min;
@property double max;


- (IBAction)sliderChangeMessage:(id)sender;
- (IBAction)minimumStepperMessage:(id)sender;
- (IBAction)maximumStepperMessage:(id)sender;
- (IBAction)minimumChangeMessage:(id)sender;
- (IBAction)maximumChangeMessage:(id)sender;
- (void) updateMaxMinLabels;
- (void) sendValue: (NSString*) value;
@end
